home *** CD-ROM | disk | FTP | other *** search
- //========================================================================================
- //
- // Exploder description for 'FWab' (ODF about box) resources
- //
- // Author: Steve Crutchfield
- //
- // Copyright: (c) 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- //----------------------------------------------------------------------------
- // FW_RFont, FW_RStringData, and FW_RStyledText are utility definitions
- // corresponding to the "Font", "StringData", and "StyledText" statements
- // in the VDL.
- //----------------------------------------------------------------------------
-
- Define(FW_RFont)
- {
- Long(fFontSize);
- Word(fFontStyle);
-
- // Using a list here is a workaround. A better solution would
- // be to use an Element(); however, there is no structure in
- // VDL which causes all identifiers within its scope to
- // apply to a sub-element rather than the containing element.
- // DynamicVList performs this task for a list, so we use a
- // single-element list here. This is needed because both
- // FW_RFont and FW_RStringData contain script and language
- // code fields, which must have the same name in each case so
- // that a single VDL named statement can be used to generate all
- // script/language code popup menus.
-
- List(fFontName, String, 1)
- {
- Word(fScriptCode);
- Word(fLanguageCode);
- String(fFontName, LengthWord);
- }
- }
-
- Define(FW_RStringData)
- {
- // Use of List is a workaround; see comment in FW_RFont, above.
-
- List(fString, String, 1)
- {
- Word(fScriptCode);
- Word(fLanguageCode);
- String(fString, LengthWord);
- }
- }
-
- Define(FW_RStyledText)
- {
- Call(FW_RFont);
- Call(FW_RStringData);
- }
-
- //----------------------------------------------------------------------------
- // Main definition begins here.
- //----------------------------------------------------------------------------
-
- Word(fIconID);
-
- // Use of List is a workaround; see comment in FW_RFont, above.
-
- List(fPartName, StyledText, 1)
- {
- Call(FW_RStyledText);
- }
-
- List(fVersion, StyledText, 1)
- {
- Call(FW_RStyledText);
- }
-
- List(fCredits, StyledText, 1)
- {
- Call(FW_RStyledText);
- }
-
- List(fButtonString, String, 1)
- {
- Call(FW_RStringData);
- }
-
- Long(fSizeX);
- Long(fSizeY);
-